package com.liycloud.mall.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品表
 *
 */
@Data
@ApiModel(value = "商品表")
@TableName("mall_product")
public class ProductEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private String id;

	/**
	 * 商品ID
	 */
	@ApiModelProperty(value = "商品编号")
	private String productId;

	/**
	 * 商品名称
	 */
	@ApiModelProperty(value = "商品名称")
	private String productName;

	/**
	 * 商品信息
	 */
	@ApiModelProperty(value = "商品备注信息")
	private String productInfo;


	/**
	 * 商品备注
	 */
	@ApiModelProperty(value = "商品备注")
	private String remark;

	/**
	 * 租户ID
	 */
	@ApiModelProperty(value = "用户所属租户id")
	private Integer tenantId;
}

